﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;

namespace AdminWeb.Models
{
    public class ApplicationModel
    {
        [DisplayName("ApplicationName")]
        public string Name { get; set; }
        [DisplayName("Version")]
        public string Version { get; set; }
        [DisplayName("ZipArchive")]
        public string FileName { get; set; }
        // ComboBox Item production, development, test
        [DisplayName("Environment")]
        public string Environment { get; set; }
        [DisplayName("# of processors")]
        public int NumOfProcessors { get; set; }
        [DisplayName("Virtual Host")]   // Add for NougakuDo 1.1.0 above.
        public bool VirtualHost { get; set; }
        public bool IsRuntime
        {
            get { return Name == "NougakuDo"; }
        }
    }

}